package com.example.edums.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableName("teacher")
public class Teacher {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private String teacherNo;
    private String name;
    private String gender;
    private LocalDate birthDate;
    private String title;
    private String department;
    private String college;
    private LocalDate hireDate;
    private String phone;
    private String email;
    private String researchField;
}